<div class="page">
	<div class="pageContent">
		<form method="post" action="/admin/department/edit/${d.dept_id}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
			<div class="pageFormContent" layoutH="56">
				<p>
					<label>部门代码：</label>
					<input name="dept_code" type="text" class="required digits"  size="30" alt="请输入数字" readonly="readonly" value="${d.dept_code}"/> <span> 规则：${rule}</span>		    
				</p>
				<p>
					<label>部门名称 ：</label>
					<input name="dept_name" class="required" type="text" size="30"  alt="部门名称" value="${d.dept_name}"/>
				</p>
				<p>
					<label>全称 ：</label>
					<input name="dept_fullname" type="text" size="50"  readonly="readonly" value="${d.dept_fullname}"/>
				</p>
				<div class="divider"></div>	
				<p>
					<label>上级代码：</label>
					<input name="dept_p_code"  type="text" size="30"  readonly="readonly" value="${p.dept_code}"/>
				</p>
				<p>
					<label>上级名称：</label>
					<input name="dept_p_name"  type="text" size="30"  readonly="readonly" value="${p.dept_name}"/>
				</p>
				<p>
					<label>备 注：</label>
					<input name="dept_notes" type="text" size="50" value="${d.dept_notes}"/>
				</p>
				<p>
					<label>启用：</label>
						<input name="is_active" type="checkbox" size="30" value="Y" 
							%if d.is_active=='Y':
								checked 
							%endif />
				</p>
							
			</div>
			<div class="formBar">
				<ul>
					<!--<li><a class="buttonActive" href="javascript:void(0)"><span>保存</span></a></li>-->
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button class="close" value="关闭">关闭</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</div>